package com.Brave.manager.Demo04;

public class Mythread extends Thread {
    public Mythread() {
    }

    public Mythread(String name) {
        super(name);
    }

    @Override
    public void run() {
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        for (int i = 0; i < 100; i++) {
            System.out.println(i + Thread.currentThread().getName());
        }
    }
}
